<% @page_title = "Adicionar Administrador" %>

<div class="library-form">

<%= error_messages_for :boss %>

<fieldset>
<legend>Digite os Dados do Administrador</legend>

<% form_for(@boss) do |f| %>

  <p>
    <label for="boss_name">Nome:</label>
    <%= f.text_field :name, :size => 40 %>
  </p>

  <p>
    <label for="boss_password">Senha:</label>
    <%= f.password_field :password, :size => 40 %>
  </p>

  <p>
    <label for="boss_password_confirmation">Confirme:</label>
    <%= f.password_field :password_confirmation, :size => 40 %>
  </p>

  <p>
    <%= f.submit "Adicionar Administrador" , :class => "submit" %>
  </p>

<% end %>
</fieldset>

</div>